C1.LiveLinq.AdoNet Namespace > AdoNetExtensions Class > IndexedField Method : IndexedField<T>(DataRow,String,IndexingHintAction) Method |
'Declaration
Public Overloads Shared Function IndexedField(Of T)( _ ByVal row As System.Data.DataRow, _ ByVal columnName As System.String, _ ByVal action As IndexingHintAction _ ) As T
public static T IndexedField<T>( System.Data.DataRow row, System.string columnName, IndexingHintAction action )
var query = from c in customersTable where c.IndexedField<string>("CustomerID", IndexingHintAction.Mandatory) == "ALFKI" select c;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2